using UnityEngine;
using QFramework;

namespace ProjectSurvivor
{
	public partial class CollectibleArea : ViewController
	{
		void Start()
		{
			Global.CollectableArea.RegisterWithInitValue(area =>
			{
				GetComponent<CircleCollider2D>().radius *= area;
			}).UnRegisterWhenGameObjectDestroyed(gameObject);
		}
	}
}
